<div class="breadcrumbwidget">
	<ul class="skins">
        <li><a href="default" class="skin-color default"></a></li>
        <li><a href="orange" class="skin-color orange"></a></li>
        <li>&nbsp;</li>
        <li class="fixed"><a href="" class="skin-layout fixed"></a></li>
        <li class="wide"><a href="" class="skin-layout wide"></a></li>
    </ul><!--skins-->
	<ul class="breadcrumb">
        <li><a href="">Trang chủ</a> <span class="divider">/</span></li>
        <li class="active">Quản lý quà tặng</li>
    </ul>
</div><!--breadcrumbwidget-->
<div class="pagetitle">
	<h1>Sửa quà tặng</h1> <span></span>
</div><!--pagetitle-->

<div class="maincontent">
<?php if(validation_errors()): ?>
    <div class="alert alert-error" style="margin: 10px 10px 10px 40px;">
      <button data-dismiss="alert" class="close" type="button">×</button>
      <?php echo validation_errors(); ?>
    </div>
<?php endif;?>
<?php if(!in_array(@$return, array(null, '', '0'))): ?>
    <div class="alert alert-error" style="margin: 10px 10px 10px 40px;">
      <button data-dismiss="alert" class="close" type="button">×</button>
      <?php if(@$return == 201): ?>
        <span>Quà tặng này đã tồn tại!</span>
      <?php endif;?>
    </div>
<?php endif;?>
	<div class="contentinner content-dashboard">
    
    <?php $attr = array('class' => 'stdform'); echo form_open('', $attr)?>
        <p>
        	<label>Tên quà tặng</label>
            <span class="field"><input type="text" name="name" class="input-xlarge" placeholder="Nhập tên quà tặng" value="<?php echo $data->name;?>"/></span>
        </p>
        <p>
        	<label>Ghi chú</label>
            <span class="field"><input type="text" id="note" name="note" class="input-xlarge" placeholder="Ghi chú" value="<?php echo $data->note;?>"/></span>
        </p>
        <p>
            <label></label>
            <button class="btn btn-rounded" type="submit"> <i class="iconfa-ok"></i> &nbsp; Lưu</button>
        </p>
    </form>
    
    </div>
</div>